package com.miniportal.base.convert;

import com.miniportal.base.pojo.dto.ContactPeopleDto;
import com.miniportal.base.pojo.dto.UserBaseInfoDto;
import com.miniportal.base.pojo.entity.ContactPeople;
import com.miniportal.base.pojo.entity.UserBaseInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * TODO
 *
 * @author zhouje
 * @since 2022/5/31 0:58
 */
@Mapper
public interface ContactPeopleConvert {
    ContactPeopleConvert INSTANCE = Mappers.getMapper(ContactPeopleConvert.class);

    List<ContactPeopleDto> dosToDtos(List<ContactPeople> dos);


    ContactPeople dtoToDo(ContactPeopleDto dto);
}
